package com.outsider.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.outsider.dao.StaffMapper;

@Service("staffService")
public class StaffService {
   @Autowired 
   private StaffMapper staffDao;
   public String getStaffName(Integer ID){
	  return (staffDao.selectByPrimaryKey(ID).getStaffname());
   }
}
